home *** CD-ROM | disk | FTP | other *** search
- SYR2K(3F) Last changed: 11-2-98
-
-
- NNAAMMEE
- SSSSYYRR22KK, DDSSYYRR22KK, CCSSYYRR22KK, ZZSSYYRR22KK - Performs symmetric rank 2_k update of
- a real or complex symmetric matrix
-
- SSYYNNOOPPSSIISS
- Real
-
- CCAALLLL SSSSYYRR22KK ((_u_p_l_o,, _t_r_a_n_s,, _n,, _k,, _a_l_p_h_a,, _a,, _l_d_a,, _b,, _l_d_b,, _b_e_t_a,, _c,,
- _l_d_c))
-
- Double precision
-
- CCAALLLL DDSSYYRR22KK ((_u_p_l_o,, _t_r_a_n_s,, _n,, _k,, _a_l_p_h_a,, _a,, _l_d_a,, _b,, _l_d_b,, _b_e_t_a,, _c,,
- _l_d_c))
-
- Complex
-
- CCAALLLL CCSSYYRR22KK ((_u_p_l_o,, _t_r_a_n_s,, _n,, _k,, _a_l_p_h_a,, _a,, _l_d_a,, _b,, _l_d_b,, _b_e_t_a,, _c,,
- _l_d_c))
-
- Double complex
-
- CCAALLLL ZZSSYYRR22KK ((_u_p_l_o,, _t_r_a_n_s,, _n,, _k,, _a_l_p_h_a,, _a,, _l_d_a,, _b,, _l_d_b,, _b_e_t_a,, _c,,
- _l_d_c))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- SSSSYYRR22KK and DDSSYYRR22KK performs a symmetric rank 2_k update of a real
- symmetric matrix.
-
- CCSSYYRR22KK and ZZSSYYRR22KK performs a symmetric rank 2_k update of a complex
- symmetric matrix.
-
- These routines perform one of the following symmetric rank 2_k
- operations:
- T T
- C <- alpha AB + alpha BA + beta C
-
- or
- T T
- C <- alpha A B + alpha B A + beta C
-
- where
-
- * _a_l_p_h_a and _b_e_t_a are scalars
-
- * _C is an _n-by-_n symmetric matrix
-
- * _A and _B are _n-by-_k matrices in the first operation listed previously
- and _k-by-_n matrices in the second
- _T _T
- * _A and _B are transposes of _A and _B, respectively
-
- These routines have the following arguments:
-
- _u_p_l_o Character*1. (input)
- Specifies whether the upper or lower triangular part of
- array _c is referenced, as follows:
-
- _u_p_l_o = 'U' or 'u': only the upper triangular part of _c is
- referenced.
- _u_p_l_o = 'L' or 'l': only the lower triangular part of _c is
- referenced.
-
- _t_r_a_n_s Character*1. (input)
- Specifies the operation to be performed, as follows:
- T T
- _t_r_a_n_s = 'N' or 'n': C <- alpha AB + alpha BA + beta C
- T T
- _t_r_a_n_s = 'T' or 't': C <- alpha A B + alpha B A + beta C
-
- _n Integer. (input)
- Specifies the order of matrix _C. _n must be >= 0.
-
- _k Integer. (input)
-
- On entry with _t_r_a_n_s = 'N' or 'n', _k specifies the number of
- columns of matrices _A and _B.
-
- On entry with _t_r_a_n_s = 'T' or 't', _k specifies the number of
- rows of matrices _A and _B.
-
- _k must be >= 0.
-
- _a_l_p_h_a Scalar factor. (input)
- SSSSYYRR22KK: Real.
- DDSSYYRR22KK: Double precision.
- CCSSYYRR22KK: Complex.
- ZZSSYYRR22KK: Double complex.
-
- _a Array of dimension (_l_d_a,_k_a). (input)
- SSSSYYRR22KK: Real array.
- DDSSYYRR22KK: Double precision array.
- CCSSYYRR22KK: Complex array.
- ZZSSYYRR22KK: Double complex array.
- When _t_r_a_n_s = 'N' or 'n', _k_a is _k; otherwise, it is _n.
- Contains the matrix _A.
-
- Before entry with _t_r_a_n_s = 'N' or 'n', the leading _n-by-_k
- part of array _a must contain matrix _A; otherwise, the
- leading _k-by-_n part of array _a must contain matrix _A.
-
- _l_d_a Integer. (input)
- Specifies the first dimension of _a as declared in the
- calling program. If _t_r_a_n_s = 'N' or 'n', _l_d_a >= MMAAXX(1,_n);
- otherwise, _l_d_a >= MMAAXX(1,_k).
-
- _b Array of dimension (_l_d_b,_k_b). (input)
- SSSSYYRR22KK: Real array.
- DDSSYYRR22KK: Double precision array.
- CCSSYYRR22KK: Complex array.
- ZZSSYYRR22KK: Double complex array.
-
- When _t_r_a_n_s = 'N' or 'n', _k_b is _k; otherwise, it is _n.
- Contains the matrix _B.
-
- Before entry with _t_r_a_n_s = 'N' or 'n', the leading _n-by-_k
- part of array _b must contain matrix _B; otherwise, the
- leading _k-by-_n part of array _b must contain matrix _B.
-
- _l_d_b Integer. (input)
- Specifies the first dimension of _b as declared in the
- calling program. If _t_r_a_n_s = 'N' or 'n', _l_d_b >= MMAAXX(1,_n);
- otherwise, _l_d_b >= MMAAXX(1,_k).
-
- _b_e_t_a Scalar factor. (input)
- SSSSYYRR22KK: Real.
- DDSSYYRR22KK: Double precision.
- CCSSYYRR22KK: Complex.
- ZZSSYYRR22KK: Double complex.
-
- _c Array of dimension (_l_d_c,_n). (input and output)
- SSSSYYRR22KK: Real array.
- DDSSYYRR22KK: Double precision array.
- CCSSYYRR22KK: Complex array.
- ZZSSYYRR22KK: Double complex array.
- Contains the matrix _C.
-
- Before entry with _u_p_l_o = 'U' or 'u', the leading _n-by-_n
- upper triangular part of array _c must contain the upper
- triangular part of the symmetric matrix. The strictly lower
- triangular part of _c is not referenced. On exit, the upper
- triangular part of the updated matrix overwrites the upper
- triangular part of array _c.
-
- Before entry with _u_p_l_o = 'L' or 'l', the leading _n-by-_n
- lower triangular part of array _c must contain the lower
- triangular part of the symmetric matrix. The strictly upper
- triangular part of _c is not referenced. On exit, the lower
- triangular part of the updated matrix overwrites the lower
- triangular part of array _c.
-
- _l_d_c Integer. (input)
- Specifies the first dimension of _c as declared in the
- calling program. _l_d_c >= MMAAXX(1,_n).
-
- NNOOTTEESS
- These routines are Level 3 Basic Linear Algebra Subprograms (Level 3
- BLAS).
-
- SSEEEE AALLSSOO
- HHEERR22KK(3F)
-
- This man page is available only online.
-